ioemu: use SIGHUP instead of SIGKILL
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 4 Feb 2008 13:44:29 +0000 (13:44 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 4 Feb 2008 13:44:29 +0000 (13:44 +0000)
commit264f5caa68b8be8549b7092f6a8a9d7b03a929ba
tree6f510f5e9a4fe86946ee9ab090a376122af60f9a
parentb490b3db0688144a5cd1baa09c62b98ba6bf45b9
ioemu: use SIGHUP instead of SIGKILL

The stub domain device model needs to trap the termination signal so
as to actually destroy the stub domain.  SIGKILL can't be trapped,
SIGTERM is caught by SDL and so may be unnoticed.  SIGHUP can be
trapped and is not caught by SDL (and by default causes a process
termination without core).

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/python/xen/xend/image.py